package net.jueb.sniff4j.extr.auth;

import java.util.HashMap;

public class Users extends HashMap<String,User>{
	/**
	 * 
	 */
	private static final long serialVersionUID = 6384206539565082302L;
	public void addUser(User user)
	{
		this.put(user.getName(),user);
	}
	public void removeUser(String userNmae)
	{
		this.remove(userNmae);
	}
	public User getUser(String userName)
	{
		return this.get(userName);
	}
	public boolean contains(String userName)
	{
		return this.containsKey(userName);
	}
}
